package cn.service.impl;

import cn.dao.CustomerMapper;
import cn.domain.Sysuser;
import cn.service.CustomerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Vijay
 * @date 2020/3/30  -14:00
 */
@Service
public class CustomerServiceimpl implements CustomerService {
   @Autowired
   private CustomerMapper customerMapper;

    @Override
    public List<Sysuser> findCustomerList() {
        return  customerMapper.findCustomerList();
    }

    @Override
    public Sysuser login(String userid, String password) {
        return customerMapper.login(userid,password);
    }

}
